Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
💻 코드 설명
n을 쭉 나눠주면서 n이 3의배수로 나누어 떨어질때는 n에 -1을 해주고 아니면 그냥 그대로 진행해주는 형식으로 진행했습니다.
🤔 체감 난이도
3진법인줄알고 간단한 줄 알았는데, 15에서 오류나서 그만둔 기억이 있습니다. 규칙을 파악하려고 나열하는 과정이 조금은 걸렸습니다.
✨ 기타 사항 / 질문
전에 풀다가 그만둔거를 다 푼걸로 오해하고 있었네요... 다음부터 제시간에 올릴게요